﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Diagnostics;
using System.Text;

namespace CgiHandler
{
    public class CgiProcessor
    {
        public string ProgramFile { get; set; }
        public string WorkingDirectory { get; set; }
        public string StdOut { get; set; }
        public string StdErr { get; set; }
        public int ExitCode { get; set; }
        public bool IsSuccessful { get; set; }

        public CgiProcessor()
        {
        }

        public CgiProcessor(string programFile, string workingDirectory)
        {
            ProgramFile = programFile;
            WorkingDirectory = workingDirectory;
        }

        public void Run(Stream requestStream)
        {
        }

    }
}
